﻿using System.Collections.Generic;
using System.Text;

namespace SwissTransTracker
{
    /// <summary>
    ///     See transport.opendata.ch
    /// </summary>
    public class LocationList
    {
        /// <summary>
        ///     A list of locations
        /// </summary>
        public List<Location> Stations { get; set; }

        public override string ToString()
        {
            var sb = new StringBuilder();
            foreach (var location in Stations)
            {
                sb.AppendLine(location.ToString());
            }
            return sb.ToString();
        }
    }
}